package com.lee.boot.head.first.demo.controller;


import com.lee.boot.head.first.demo.service.AopTestService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: Lee
 * @Date: 2018/10/19 14:15
 * @Description: aop测试controller
 */
@RestController
@RequestMapping(value = "/aop")
public class AopTestController {
    @Autowired
    private AopTestService aopTestService;


    @RequestMapping(value = "/do")
    public String doSomething(String name, String b, String c, String e) throws Exception {
        aopTestService.doSomeThing(name, b, c, e);
        return "aaaaa";
    }
}
